import AsyncComponent from 'components/async-component'
export default [
    {
        name: '首页',
        path: '/',
        component: AsyncComponent(() => import('containers/home/home.js'))
    },
    {
        name: '新闻',
        path: '/news',
        component: AsyncComponent(() => import('containers/news/news.js'))
    },
    {
        name: '关于我们',
        path: '/about',
        component: AsyncComponent(() => import('containers/about/about.js'))
    },
    {
        name: '技术能力',
        path: '/tech',
        component: AsyncComponent(() => import('containers/tech/tech.js'))
    },
    {
        name: '新闻详情',
        path: '/newsDetail/:newsId/:type',
        component: AsyncComponent(() => import('containers/newsDetail/newsDetail.js'))
    },
    // {
    //     name: '成员与工作组',
    //     path: '/workgroup',
    //     exact: false,
    //     children: [
    //         {
    //             name: '成员与工作组',
    //             path: '/',
    //             component: AsyncComponent(() => import('containers/workgroup/index.js'))
    //         },
    //     ]
    // },
    // {
    //     name: '联盟成员',
    //     path: '/member',
    //     component: AsyncComponent(() => import('containers/member/index.js'))
    // },
    // {
    //     name: '应用场景',
    //     path: '/manufacture',
    //     component: AsyncComponent(() => import('containers/manufacture/index.js'))
    // },
    // {
    //     name: '联盟会员权利',
    //     path: '/membership_rights',
    //     component: AsyncComponent(() => import('containers/membershipRights/index.js'))
    // },
    // {
    //     name: '标准化工作',
    //     path: '/standards/:work',
    //     component: AsyncComponent(() => import('containers/standards/index.js'))
    // },
    // {
    //     name: '新闻中心',
    //     path: '/newscenter',
    //     component: AsyncComponent(() => import('containers/newscenter/index.js'))
    // },
    // {
    //     name: '用户注册',
    //     path: '/register',
    //     component: AsyncComponent(() => import('containers/register/index.js'))
    // },
    // {
    //     name: '用户登录',
    //     path: '/login',
    //     component: AsyncComponent(() => import('containers/login/index.js'))
    // },
    // {
    //     name: '找不到页面',
    //     path: '/',
    //     exact: false,
    //     component: AsyncComponent(() => import('containers/notfound/index.js'))
    // },
]